<?php

class Admin_Form_Importacao extends Twitter_Bootstrap_Form_Horizontal
{

    public function init()
    {
        $this->setIsArray(true)
             ->setElementsBelongTo('');       
        
        
        $this->setAction('/admin/importacao/index')
             ->setName('Form_Importacao')
             ->setAttrib('id', 'form_importacao')
             ->setMethod('post');
        
        
        $this->addElement('file', 'arquivoCarga', array('label'         => 'Arquivo para Carga:',
                                                        'required'      => true
                          ));    
        
        
        
        $this->addElement('submit', 'btnConsultar', array('label' => 'Iniciar carga no sistema',
                                                          'class' => 'btn btn-primary'));        
    }
}